Component({
  properties: {
    // 最大不要超过两个
    list: Array,
  },
  data: {

  },
  ready() {
    const length = this.properties.list.length
    this.setData({
      panelWidth: (100 - length) / length
    })
  },
  methods: {

  }
})